/*
 * DBeaver - Universal Database Manager
 * Copyright (C) 2010-2024 DBeaver Corp and others
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.jkiss.dbeaver.ui;

import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.Font;

/**
 * Theme settings
 */
public class BaseThemeSettings extends ThemeListener {

    @ThemeFont(value = UIFonts.DBeaver.MAIN_FONT)
    public volatile Font baseFont;
    @ThemeFont(value = UIFonts.DBeaver.MAIN_FONT, bold = true)
    public volatile Font baseFontBold;

    @ThemeFont(value = UIFonts.Eclipse.TREE_AND_TABLE_FONT_FOR_VIEWS)
    public volatile Font treeAndTableFont;
    @ThemeFont(value = UIFonts.Eclipse.TREE_AND_TABLE_FONT_FOR_VIEWS, bold = true)
    public volatile Font treeAndTableFontBold;
    @ThemeFont(value = UIFonts.Eclipse.TREE_AND_TABLE_FONT_FOR_VIEWS, italic = true)
    public volatile Font treeAndTableFontItalic;

    @ThemeFont(value = UIFonts.Eclipse.PART_TITLE_FONT)
    public volatile Font partTitleFont;
    @ThemeFont(value = UIFonts.Eclipse.PART_TITLE_FONT, bold = true)
    public volatile Font partTitleBoldFont;

    @ThemeFont(UIFonts.DBeaver.MONOSPACE_FONT)
    public volatile Font monospaceFont;

    @ThemeColor(BaseEditorColors.COLOR_SUCCESS)
    public volatile Color colorSuccess;
    @ThemeColor(BaseEditorColors.COLOR_ERROR)
    public volatile Color colorError;
    @ThemeColor(BaseEditorColors.COLOR_WARNING)
    public volatile Color colorWarning;

    public static final BaseThemeSettings instance = new BaseThemeSettings();
}
